package com.zlm.girlfriendmp.controller;

import com.zlm.girlfriendmp.service.GreetingService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName GreetingController
 * @Author zhuliming
 * @Date 2022/8/24 9:33
 **/
@RestController
@RequiredArgsConstructor(onConstructor_ = @Autowired)
public class GreetingController {

    private final GreetingService greetingService;

//    @GetMapping("send-greeting")
//    public String sendGreeting() throws WxErrorException, InterruptedException {
//        greetingService.sendTemplateMessage(GreetingService.);
//        return "你的问候已送达";
//    }
}
